package com.example.leetcode.greedy;

import com.example.leetcode.greedy.common.GreedyUtils;

class Solution2335 {
    public int fillCups(int[] amount) {
        return GreedyUtils.fillCups(amount);
    }
}

public class leetcode2335 {
    public static void main(String[] args) {
        Solution2335 solution2335 = new Solution2335();
        int[] amount = {1, 4, 2};
        int[] amount1 = {5, 4, 4};
        int[] amount2 = {5, 0, 0};
        System.out.println(solution2335.fillCups(amount));
        System.out.println(solution2335.fillCups(amount1));
        System.out.println(solution2335.fillCups(amount2));
    }
}
